import _http from '@/utils/http'

export default {
    apiUserQryList(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/api/user/qry/list',
            apiName: '平台列表',
        }, params, loading, headers)
    },
    apiUserDetail(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/api/user/detail',
            apiName: '平台详情',
        }, params, loading, headers)
    },
    shopListAll(params, loading, headers) {
        return _http('post', {
            url: '/ums/manage/shop/listAll',
            apiName: '所有商户下拉',
        }, params, loading, headers)
    },
    apiUserAdd(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/api/user/add',
            apiName: '新增平台',
        }, params, loading, headers)
    },
    apiUserModify(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/api/user/modify',
            apiName: '修改平台配置',
        }, params, loading, headers)
    },
    apiUserState(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/api/user/state',
            apiName: '冻结、解冻、删除操作',
        }, params, loading, headers)
    },
}
